import java.sql.SQLOutput;

public class Cat extends Animal implements IRunning {
    public Cat(String name) {
        super(name);
    }

    @Override
    public void run() {
        System.out.println(name + "用四条腿跑");
    }

    @Override
    public void eat() {
        System.out.println(name + "吃猫粮");
    }
}
